package de.westranger.forex.trading.genetic.allel.chromosom;

import de.westranger.forex.trading.genetic.allel.Node;

public final class SimpleChromosom implements Chromosom{

	private double fitness;
	private Node node;
	
	public SimpleChromosom(final double fitness ,final Node node){
		this.fitness = fitness;
		this.node = node;
	}
	
	public Node getNode() {
		return node;
	}

	public void setNode(final Node rule) {
		this.node = rule;
	}

	@Override
	public double getFitness() {
		return this.fitness;
	}

	@Override
	public void setFitness(final double fitness) {
		this.fitness = fitness;
	}
}
